package utils;

/**
 * Used when a attempts to decrypt a String failed because the String is invalid
 * 
 * @author Swedman
 */
public class InvalidEncryptedStringException extends Exception
{
    /**
     * Default construction. Runs the construction of Exception.
     */
    public InvalidEncryptedStringException()
    {
	super();
    }

    /**
     * Same as above, but allowes a message
     * @param message The message to associate with the exception
     */
    public InvalidEncryptedStringException(String message)
    {
	super(message);
    }

    /**
     * Same as above, but addisionally allowes a Throwable cause
     * @param message The message to associate with the Exception
     * @param cause The cause of the Exception
     */
    public InvalidEncryptedStringException(String message, Throwable cause)
    {
        super(message, cause);
    }

    /**
     * Same as above, but without the message
     * @param cause The cause of the exception
     */
    public InvalidEncryptedStringException(Throwable cause)
    {
        super(cause);
    }
}
